﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using MvvmHelper;

namespace MVVMKKSample.UCT
{
    /// <summary>
    /// uctHeader.xaml の相互作用ロジック
    /// </summary>
    public partial class uctHeader : UserControl
    {
        public uctHeader()
        {
            InitializeComponent();
        }


        /// <summary>
        /// 機能名称格納用依存関係プロパティ
        /// </summary>
        public String JOBName
        {
            get { return (String)GetValue(JOBNameProperty); }
            set { SetValue(JOBNameProperty, value); }
        }

        public static readonly DependencyProperty JOBNameProperty =
            DependencyPropertyHelper<uctHeader>.Register(_ => _.JOBName);
        /// <summary>
        /// ユーザーID格納用依存関係プロパティ
        /// </summary>
        public string UserID
        {
            get { return (string)GetValue(UserIDProperty); }
            set { SetValue(UserIDProperty, value); }
        }

        public static readonly DependencyProperty UserIDProperty =
            DependencyPropertyHelper<uctHeader>.Register(_ => _.UserID);
        /// <summary>
        /// ユーザー名格納用依存関係プロパティ
        /// </summary>
        public string UserName
        {
            get { return (string)GetValue(UserNameProperty); }
            set { SetValue(UserNameProperty, value); }
        }

        public static readonly DependencyProperty UserNameProperty =
            DependencyPropertyHelper<uctHeader>.Register(_ => _.UserName);




    }
}
